/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-18 10:53:19
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-24 19:33:13
 */
import 'package:flutter/material.dart';
import 'package:flutter_data_center/components/custom_map.dart';
import 'package:line_icons/line_icons.dart';

class WristbandDetailMap extends StatelessWidget {
  const WristbandDetailMap({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Container(
        width: double.infinity,
        height: 250,
        padding: EdgeInsets.only(
          top: 15,
          bottom: 10,
          left: 20,
          right: 20,
        ),
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(10),
          color: Colors.white,
          boxShadow: [
            BoxShadow(
              offset: Offset(0, 0),
              blurRadius: 5,
              color: Color.fromRGBO(0, 0, 0, 0.05),
            ),
          ],
        ),
        child: Column(
          children: [
            Row(
              children: [
                Icon(
                  LineIcons.mapMarker,
                  size: 30,
                ),
                SizedBox(width: 10),
                Text(
                  "学校操场",
                  style: TextStyle(
                    fontSize: 14,
                  ),
                )
              ],
            ),
            SizedBox(height: 10),
            // MapWidget(),
            CustomMap(),
          ],
        ),
      );
}
